Platform Explorer / Nuxeo Platform 11.4

Component org.nuxeo.ecm.platform.routing.dm.conditionalfolder.contentTemplateContrib

Requirements

Resolution Order

722
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>
<component
  name="org.nuxeo.ecm.platform.routing.dm.conditionalfolder.contentTemplateContrib">
  <!-- @deprecated since 5.9.2 - Use only routes of type 'graph' -->
  <require>
    org.nuxeo.ecm.platform.routing.conditionalfolder.contentTemplateContrib
  </require>

  <extension
    target="org.nuxeo.ecm.platform.content.template.service.ContentTemplateService"
    point="factoryBinding">

    <factoryBinding name="ConditionalfolderFactory"
      factoryName="SimpleTemplateFactory" targetType="ConditionalStepFolder">
      <template>
        <templateItem typeName="ConditionalTask" id="routeDocStep"
          title="ConditionalTask" description="Decisional task" />
        <templateItem typeName="StepFolder" id="option1"
          title="Option 1" description="Branch executed if option1 is chosen" />
        <templateItem typeName="StepFolder" id="option2"
          title="Option 2" description="Branch executed if option2 is chosen" />
      </template>
    </factoryBinding>

  </extension>

</component>